package com.shensi.adminCollect.domain.integral;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalTime;
import java.util.Date;

/**
 * (IntegralTimeRuleDetail)实体类
 *
 * @author makejava
 * @since 2023-12-11 17:30:15
 */
public class IntegralTimeRuleDetail implements Serializable {
    private static final long serialVersionUID = 936549765804953971L;
    
    private Long id;
    /**
     * 关联  integral_rule_detail
     */
    private Long ruleDetailId;
    /**
     * 生效开始时间
     */
    private LocalTime effectiveTimeStart;
    /**
     * 生效结束时间
     */
    private LocalTime effectiveTimeEnd;
    /**
     * 生效指定开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date effectiveDateStart;
    /**
     * 生效指定结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date effectiveDateEnd;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRuleDetailId() {
        return ruleDetailId;
    }

    public void setRuleDetailId(Long ruleDetailId) {
        this.ruleDetailId = ruleDetailId;
    }

    public LocalTime getEffectiveTimeStart() {
        return effectiveTimeStart;
    }

    public void setEffectiveTimeStart(LocalTime effectiveTimeStart) {
        this.effectiveTimeStart = effectiveTimeStart;
    }

    public LocalTime getEffectiveTimeEnd() {
        return effectiveTimeEnd;
    }

    public void setEffectiveTimeEnd(LocalTime effectiveTimeEnd) {
        this.effectiveTimeEnd = effectiveTimeEnd;
    }

    public Date getEffectiveDateStart() {
        return effectiveDateStart;
    }

    public void setEffectiveDateStart(Date effectiveDateStart) {
        this.effectiveDateStart = effectiveDateStart;
    }

    public Date getEffectiveDateEnd() {
        return effectiveDateEnd;
    }

    public void setEffectiveDateEnd(Date effectiveDateEnd) {
        this.effectiveDateEnd = effectiveDateEnd;
    }

}

